/*
 * @Author: your name
 * @Date: 2021-12-23 00:27:01
 * @LastEditTime: 2021-12-23 00:32:37
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \Flutter_Learning\Dart_Basic_Grammer\loop.dart
 */

void main(List<String> args) {
    for (var i = 0; i < 10; i++) {
        print(i);
    }
    
    var whilll = 20;
    while (whilll > 10) {
        print(whilll);
        whilll--;
    }
    
    var i = 10;
    do {
        i--;
        print(i);
    } while (i > 10);
}